import { createRouter, createWebHistory } from "vue-router";

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/home",
      component: () => import("../pages/Home.vue"),
    },
    {
      path: "/about",
      component: () => import("../pages/About.vue"),
    },
    {
      path: "/mine",
      component: () => import("../pages/Mine.vue"),
    },
    {
      path: "/data",
      component: () => import("../pages/Data.vue"),
    },
    {
      path: "/getters",
      component: () => import("../pages/Getter.vue"),
    },
  ],
});

export default router;
